package cate.game.chat.msg;

import cate.game.chat.ChatPublicItem;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBChat;
import easy.java.dev.note.NoteField;


@ClientMsg(title = "收到私聊频道消息 の 通知")
public class ChatPrivateItemResp implements MsgOutput {
    @NoteField(value = "一条消息")
    public ChatPublicItem item;

    @NoteField(value = "接收者的uid")
    public String toUid;

    public ChatPrivateItemResp(){}

    public ChatPrivateItemResp(ChatPublicItem item, String toUid) {
        this.item = item;
        this.toUid = toUid;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBChat.PRIVATE_ITEM_RESP;
    }
}
